/**
 * NetworkControllerCommand.java
 */
package commands.nc;
import commands.*;

/**
 * @author Michal Kolodziejski
 *
 */
public class NetworkControllerCommand extends Command {
	public enum NetworkControllerCommandType {
		SEARCH, /* same with SEARCH_INTERNAL */
		GET,
		ASK,
		SET_MAX_ACTIVE_CONNECTIONS_NUMBER,
		RESULT,
		ALIVE_INTERNAL,
		GET_INTERNAL,
		SEGMENT,
		SEGMENT_INTERNAL,
		ERROR_INTERNAL,
		
		/** Request for number of free connections (for download etc) */
		GET_FREE_CONNECTIONS,
	};
	
	private final NetworkControllerCommandType commandType;
	
	public NetworkControllerCommand(NetworkControllerCommandType mct){
		super(CommandReceiverType.NC);
		commandType = mct;
	}
	
	public NetworkControllerCommandType getCommandType(){
		return commandType;
	}
}
